home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ggggaaaammmmmmmmaaaarrrr((((3333GGGG)))) ggggaaaammmmmmmmaaaarrrr((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ggggaaaammmmmmmmaaaarrrr - defines a color map ramp for gamma correction
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ggggaaaammmmmmmmaaaarrrr((((rrrr,,,, gggg,,,, bbbb))))
- iiiinnnntttteeeeggggeeeerrrr****2222 rrrr((((222255556666)))),,,, gggg((((222255556666)))),,,, bbbb((((222255556666))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _r expects an array of 256 elements. Each element contains a setting
- for the red electron gun.
-
- _g expects an array of 256 elements. Each element contains a setting
- for the green electron gun.
-
- _b expects an array of 256 elements. Each element contains a setting
- for the blue electron gun.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ggggaaaammmmmmmmaaaarrrr supplies a level of indirection for all color map and RGB values.
- For example, before the system would turn on the red gun to setting 238,
- the system looks in a table at location 238 and uses the value it finds
- there instead of 238.
-
- Thus, you can use this table to provide gamma correction, to equalize
- monitors with different color characteristics, or to modify the color
- warmth of the monitor. The default setting has r(_i) = g(_i) = b(_i) = _i.
- (So at location 238 of the red, green, and blue tables, you find the
- value 238.)
-
- When the system is in RGB mode and draws an object, the system writes the
- actual red, green, and blue values to the bitplanes not the indirect
- values. However, the values that you see when the system draws the
- bitmap to the screen are the indirect values: r(red), g(green), b(blue)
- (where r,g,b are the arrays last specified by ggggaaaammmmmmmmaaaarrrr)))).
-
- Similarly, when the system is in color map mode and draws an object, the
- system knows that the true color of the object may be color _i, but to
- determine the displayed color, the system finds the red, green, and blue
- values of color _i and displays color _i as r(red), g(green), b(blue).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- color, cmode, mapcol, RGBcol, gamma(6D)
-
- NNNNOOOOTTTTEEEESSSS
- This routine is available only in immediate mode.
-
- On the IRIS-4D G, gamma correction in RGB mode uses the top 256 entries
- of the colormap.
-
- ggggaaaammmmmmmmaaaarrrraaaammmmpppp should not be used in new developement. The X server
- compensates for gamma in colors used by X clients. ggggaaaammmmmmmmaaaarrrraaaammmmpppp will bypass
- this. Use ggggaaaammmmmmmmaaaarrrraaaammmmpppp with caution or a sense of humor.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ggggaaaammmmmmmmaaaarrrr((((3333GGGG)))) ggggaaaammmmmmmmaaaarrrr((((3333GGGG))))
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
-